<div class="containFt main history-orders" v-if="show">
	
	<div class="history-orders-ct">
	
		<div class="search row">
			<div class="time tc">
				<input type="date" v-model="startTime" id="startdate" name="startdate" v-model="form.startTime">
				  <span>至</span>
		        <input type="date" id="enddate" name="enddate" v-model="form.endTime">
			</div>
			<div @click="query()" class="common-btn">查询</div>
		</div>
		<table class="tb" id="today-list">
			<thead>
				<tr>
					<th class="title">商品</th>
					<th class="c tr">价格/数量</th>
					<th class="c tr">余量/状态</th>
					<th class="t tr">时间</th>
				</tr>
			</thead>
			<tr v-for="order in ordersHistory">
				<td class="tl pad-l1">{{order.goodsname}}<br />{{order.goodscode}}&nbsp;{{order.direction|direct}}</td>
				<td class="tr">{{order.orderprice|priceFormat(order.mindecimal)}}<br />{{order.orderamount}}</td>
				<td class="tr">{{order.orderamount-order.tradeamount}}<br />{{order.orderstatus|status}}</td>
				<td class="tr">{{order.ordertime}}</td>	
			</tr>
		</table>
		<input class="long-btn" type="button" value="查看更多" @click="query(1)" v-show="showMore.history" />
	
		<div class="center-middle couponNone" v-show="noMore">
			<img src="/static/img/none_content.png"/>
			<p class="tc">没有更多记录</p>
		</div>
	</div>

	<div class="loadingCt" id="loading" v-show="loading"></div>

</div>
<!-- main -->